# -*- coding: utf-8 -*-

from odoo import models, fields, api


class wliotDeviceMaintainRecord(models.Model):
    _name = 'wliot.device.maintain.record'

    device = fields.Many2one('wliot.device', string=u'设备')
    partner_id = fields.Many2one('res.partner', string=u'客户')
    description = fields.Text(string=u'维护描述')
    time = fields.Datetime(string=u'维护时间')
